home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / gtk-2.0 / gtk / gtkseparatortoolitem.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-04-25  |  2.6 KB  |  69 lines

  1. /* gtktoggletoolbutton.h
  2.  *
  3.  * Copyright (C) 2002 Anders Carlsson <andersca@gnome.org>
  4.  * Copyright (C) 2002 James Henstridge <james@daa.com.au>
  5.  *
  6.  * This library is free software; you can redistribute it and/or
  7.  * modify it under the terms of the GNU Lesser General Public
  8.  * License as published by the Free Software Foundation; either
  9.  * version 2 of the License, or (at your option) any later version.
  10.  *
  11.  * This library is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14.  * Lesser General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU Lesser General Public
  17.  * License along with this library; if not, write to the
  18.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19.  * Boston, MA 02111-1307, USA.
  20.  */
  21.  
  22. #ifndef __GTK_SEPARATOR_TOOL_ITEM_H__
  23. #define __GTK_SEPARATOR_TOOL_ITEM_H__
  24.  
  25. #include "gtktoolitem.h"
  26.  
  27. G_BEGIN_DECLS
  28.  
  29. #define GTK_TYPE_SEPARATOR_TOOL_ITEM            (gtk_separator_tool_item_get_type ())
  30. #define GTK_SEPARATOR_TOOL_ITEM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItem))
  31. #define GTK_SEPARATOR_TOOL_ITEM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass))
  32. #define GTK_IS_SEPARATOR_TOOL_ITEM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM))
  33. #define GTK_IS_SEPARATOR_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM))
  34. #define GTK_SEPARATOR_TOOL_ITEM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass))
  35.  
  36. typedef struct _GtkSeparatorToolItem        GtkSeparatorToolItem;
  37. typedef struct _GtkSeparatorToolItemClass   GtkSeparatorToolItemClass;
  38. typedef struct _GtkSeparatorToolItemPrivate GtkSeparatorToolItemPrivate;
  39.  
  40. struct _GtkSeparatorToolItem
  41. {
  42.   GtkToolItem parent;
  43.   
  44.   /*< private >*/
  45.   GtkSeparatorToolItemPrivate *priv;
  46. };
  47.  
  48. struct _GtkSeparatorToolItemClass
  49. {
  50.   GtkToolItemClass parent_class;
  51.  
  52.   /* Padding for future expansion */
  53.   void (* _gtk_reserved1) (void);
  54.   void (* _gtk_reserved2) (void);
  55.   void (* _gtk_reserved3) (void);
  56.   void (* _gtk_reserved4) (void);
  57. };
  58.  
  59. GType        gtk_separator_tool_item_get_type (void) G_GNUC_CONST;
  60. GtkToolItem *gtk_separator_tool_item_new      (void);
  61.  
  62. gboolean     gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item);
  63. void         gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item,
  64.                            gboolean              draw);
  65.  
  66. G_END_DECLS
  67.  
  68. #endif /* __GTK_SEPARATOR_TOOL_ITEM_H__ */
  69.